package com.atguigu.gmall.list.client;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.common.result.ResultCodeEnum;
import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;
import org.springframework.stereotype.Component;

/**
 * @Author: lx
 * @Time: 11:34
 * @Description:
 */
@Component
public class ListClientFeignImpl implements ListClientFeign {
    //更新
    @Override
    public Result hotScore(Long skuId) {
        //降级处理代码实现 远程调用
        //自己消化
        return Result.build(null, ResultCodeEnum.FAIL);
    }

    //
    @Override
    public SearchResponseVo list(SearchParam searchParam) {
        return null;
    }
}
